package com.ruoyi.system.vo.weishuapay;


public class drefmain {
	
	public static void main(String[] args) {
		//大额F发短信入住接口
		String dsorderid = "88F62D3EBEF54258AA7F735A97BE6999";
		String subMerchantNo = "100000001125116";
		String bankcard = "6222520614161343";
		String username ="徐建";
		String idcard ="420984198902151010";
		String mobile ="15171267331";
		String cvn2 = "211";
		String expireDate = "2111";								
//		String pay = DrePayUtil.sendSms(dsorderid, subMerchantNo, bankcard,username, idcard,mobile,cvn2, expireDate);
		
		//大额F短信验证接口
//		 dsorderid = "99F62D3EBEF54258AA7F735A97BE6111";
//		 subMerchantNo = "100000001125116";
//		 bankcard = "6222520614161343";
//		String orderNo ="88F62D3EBEF54258AA7F735A97BE6999";
//		String smsCode ="635744";
//		 pay = DrePayUtil.signSms(dsorderid,subMerchantNo, bankcard,orderNo,smsCode);
		
		//大额F消费接口
//		 dsorderid = "59F62D3EBEF54258AA7F735A56BE6578";
//		 cvn2 = "211";
//		 expireDate = "2111";
//		String province = "武汉";
//		 bankcard = "6222520614161343";
//		String notifyUrl = PropertiesConst.WeishuaPayURL_PAY_Notify_URL;
//		String userIP = "111.172.25.226";
//		String mcc = "5992";
//		String productName = "首饰";
//		String productDesc = "首饰";
//		 subMerchantNo = "100000001125116";
//		String amount ="10000";
//		 pay = DrePayUtil.payF(dsorderid, subMerchantNo, bankcard, cvn2, expireDate, province, notifyUrl,
//				userIP,mcc,productName,productDesc,amount);
		
		//大额F查询余额
		 dsorderid = "59F62D3EBEF54258AA7F735A88BE6578";
		 subMerchantNo = "200019747850";
		 String pay = DrePayUtil.queryBalanceF(dsorderid, subMerchantNo);
		
		//大额F还款接口
//		 dsorderid = "59F62D3EBEF50008AA7F735A97BE6578";
//		 subMerchantNo = "100000001125116";
//		 amount ="19828";
//		 bankcard ="6222520614161343";
//		String handleType ="400";
//		 pay = DrePayUtil.withDrawF(dsorderid, subMerchantNo, bankcard, amount,handleType);
		
		//大额F修改商户费率接口
//		 dsorderid = "59F62D3EBEF58808AA7F735A97BE6578";
//		String futureRateValue = "0.6";
//		 handleType ="1";//1:是修改交易费率，3：更换单笔提现价格
//		 subMerchantNo = "100000001125116";
////		String fixAmount = "";//单笔提现金额
//		 pay = DrePayUtil.update(dsorderid,futureRateValue,handleType,subMerchantNo);
	}

}
